package com.zut.base.mapper;

import com.zut.base.entity.Project;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;

/**
 * <p>
 * 项目表 Mapper 接口
 * </p>
 *
 * @author yyl
 * @since 2021-03-31
 */
@Repository
public interface ProjectMapper extends BaseMapper<Project> {

    //根据目录id查询项目列表
    List<HashMap<String,Object>> getProList(int begin, int end, List<String> list, String userId, String type);

    //根据目录id查询项目列表数量
    int getProListCount(List<String> list, String userId, String type);

}
